package com.guang.springaoptransferdemo2;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
 @EnableTransactionManagement(proxyTargetClass = true)
@EnableAspectJAutoProxy(exposeProxy = true, proxyTargetClass = true)
@MapperScan(basePackages = "com.guang.springaoptransferdemo2.mapper")
public class SpringAopTransferDemo2Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringAopTransferDemo2Application.class, args);
    }

}
